<?php

namespace App\Models\RBAC;

use App\Models\BaseModel;


/**
 * Class Permission.
 *
 * @package namespace App\Models;
 */
class RolePermission extends BaseModel
{

    public $timestamps = false;

    const TABLE_NAME = '';

    //protected $table = self::TABLE_NAME;

    protected $fillable = ['permission_id','role_id','root_permission_id'];

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);

        $this->setTable(config('permission.table_names.role_has_permissions'));
    }

    /****************** Relationship *********************/

    /****************** Attribute *********************/

    /****************** Scope *********************/

    /****************** Function *********************/


}
